GtkTreeView: Add some CSS for the 'dnd' style class so drawing the drag-dest-row...
authorFederico Mena Quintero <federico@gnome.org>
Wed, 27 Feb 2013 19:46:49 +0000 (13:46 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Wed, 27 Feb 2013 19:51:19 +0000 (13:51 -0600)
The default CSS didn't have anything for GtkTreeView's 'dnd' style class.  So,
the call to gtk_render_frame() to draw the highlight frame for the drag-dest-row
was getting a border-width of 0, and nothing was drawn as a result.

Now we just copy the default from Adwaita, but make the border-radius 0, to make it
square like the rest of the Raleigh theme...

gtk/gtk-default.css

index d084828573730e9dd8eb87e0a094dcbf79f41163..840438bdd5e988105a92f926ac48cbae3d0be41d 100644 (file)
@@ -38,6 +38,13 @@ GtkTreeView.view.expander:selected:hover {
   color: @text_color;
 }
 
+GtkTreeView.dnd {
+    border-color: @internal_element_color;
+    border-radius: 0;
+    border-width: 1px;
+    border-style: solid;
+}
+
 *:insensitive {
   border-color: shade (@bg_color, 0.7);
   background-color: shade (@bg_color, 0.9);